;*********************************************************
;**							**
;**     POCKET MONSTER BATTLE EFFECT ACTOR EQU		**
;**							**
;*********************************************************
;=======================================;
;	EFFECT EQU			;
;=======================================;
EFVRAM_ADDRESS	equ	08310h
EFCHR_START	equ	031h
EF_ACTOR_MAX	equ	10
EF_ACTOR_LEN	equ	18h
EF_TASK_MAX	equ	5
EF_TASK_LEN	equ	4
;EF_CHR_MAX	equ	08800h - EFVRAM_ADDRESS /10h
EF_CHR_MAX	equ	( 08800h - EFVRAM_ADDRESS ) /10h
OAM_END_VALUE	equ	0a0h
FRONTCHR_POS	equ	20*6 + 2 + dmy_vram
BACKCHR_POS	equ	20*0 + 12 + dmy_vram

POSREV		equ	00000001b
PAL2		equ	00010000b
HREV		equ	00100000b
VREV		equ	01000000b
PRI_BG		equ	10000000b

;---------------------------------------;
;	EFFECT STATUS EQU		;
;---------------------------------------;
EXIT		equ	0
SUB_JUMP	equ	1
LOOP_ON		equ	2
OAM_EXIT	equ	3

;---------------------------------------;
;	EFFECT ANM EQU			;
;---------------------------------------;
EFANMstop	equ	-1
EFANMloop	equ	-2
EFANMbanish	equ	-3
EFANMdel	equ	-4

EFANM_HREV	equ	01000000b
EFANM_VREV	equ	10000000b

;---------------------------------------;
;	EFFECT ACTOR TABLE EQU		;
;---------------------------------------;
EF_ACTOR_NO	equ	0		;0
EF_ACTOR_ATT	equ	EF_ACTOR_NO+1	;1
EF_ACTOR_ATO	equ	EF_ACTOR_ATT+1	;2
EF_ACTOR_ANM	equ	EF_ACTOR_ATO+1	;3
EF_ACTOR_MV	equ	EF_ACTOR_ANM+1	;4
EF_ACTOR_COL	equ	EF_ACTOR_MV+1	;5
EF_ACTOR_COF	equ	EF_ACTOR_COL+1	;6
EF_ACTOR_X	equ	EF_ACTOR_COF+1	;7
EF_ACTOR_Y	equ	EF_ACTOR_X+1	;8
EF_ACTOR_DX	equ	EF_ACTOR_Y+1	;9
EF_ACTOR_DY	equ	EF_ACTOR_DX+1	;a
EF_ACTOR_SP	equ	EF_ACTOR_DY+1	;b
EF_ACTOR_AWT	equ	EF_ACTOR_SP+1	;c
EF_ACTOR_AOF	equ	EF_ACTOR_AWT+1	;d
EF_ACTOR_WK0	equ	EF_ACTOR_AOF+1	;e
EF_ACTOR_WK1	equ	EF_ACTOR_WK0+1	;f
EF_ACTOR_WK2	equ	EF_ACTOR_WK1+1	;10


;---------------------------------------;
;	EFFECT TASK TABLE EQU		;
;---------------------------------------;
EF_TASK_NO	equ	0		;0
EF_TASK_WK0	equ	EF_TASK_NO+1	;1
EF_TASK_WK1	equ	EF_TASK_WK0+1	;2
EF_TASK_WK2	equ	EF_TASK_WK1+1	;3

